package com.example.dazhuang.vo;

public interface WorkOrderReturnCode {
    //common
    String RESULT_SUCCESS = "SUCCESS";
    String RESULT_FAILURE = "FAILURE";
    String DB_ERROR = "9999";   //数据库异常
    String HANDLE_SUCCESS = "0000"; //处理成功
    String HANDLE_FAILURE = "1111"; //处理失败
    String PARAMS_EMPETY = "0001";  //参数为空
    String PARAMS_ERROR = "0002"; //参数不可用

    //mgcards
    String MGCARDS_PARAMS_EMPTY = "2001";//请求参数为空
    String MGCARDS_CREATEORDER_SUCCESS = "2002";//创建订单成功
    String MGCARDS_CREATEORDER_ACCEPTED = "2003";//订单已受理
    String MGCARDS_CREATEORDER_FAILURE = "2004";//订单已失败
    String MGCARDS_CREATEORDER_REJECTED = "2005";//订单被拒绝

    //errorCode
    String ERR_NOT_FOUND_CONTRACT = "NOT_FOUND";//未查询到合约
    String ERR_CONTRACT_EXISTS = "EXSITS";//合约已存在
    String ERR_CONTRAC_SUSPENDED = "CONTRAC_SUSPENDED";//合约已暂停
    String Err_UNKNOWN = "UNKNOWN_ERROR";//未知错误

    //resultCode
    String ORDER_ACCEPTED = "ACCEPTED"; //工单受理
    String ORDER_HANDLE_SUCCESS = "SUCCESS";//工单处理成功
    String ORDER_HANDLE_FAILED = "FAILED";//工单处理失败
    String ORDER_HANDLE_REJECT = "REJECTED";//工单被拒绝


    /*********************  工单查询接口  ************************/

    String QUERY_REQUEST_ACCEPTED = "ACCEPTED";
    String QUERY_ORDER_STATUS_SUCCESS = "SUCCESS";
    String QUERY_ORDER_STATUS_FAILED = "FAILED";

    /**
     * 查询接口返回状态
     */
    String ORDER_QUERY_ERROR = "ERROR";
    String ORDER_QUERY_SUCCESS = "SUCCESS";
    String ORDER_QUERY_ACCEPT = "ACCEPTED";

    /*********************  券充值接口  ************************/
    String ERR_NOT_VALID_PARAMETERS = "ERR_NOT_VALID_PARAMETERS";
    String ERR_EXTERNALID_UNEXSIT = "ERR_EXTERNALID_UNEXSIT";
}
